package com.ruoyi.merchant.mapper;

import com.ruoyi.merchant.domain.DistrictInfo;

import java.util.List;

/**
* @author ASUS
* @description 针对表【district_info(区)】的数据库操作Mapper
* @createDate 2025-07-09 20:48:37
* @Entity com.ruoyi.merchant.domain.DistrictInfo
*/
public interface DistrictInfoMapper {

    int deleteByPrimaryKey(Long id);

    int insert(DistrictInfo record);

    int insertSelective(DistrictInfo record);

    DistrictInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DistrictInfo record);

    int updateByPrimaryKey(DistrictInfo record);

    List<DistrictInfo> selectAllDistrictsByCityId(Integer cityId);
}
